import { defineStore } from 'pinia'

const useSchemaStore = defineStore('schema',  ()=>{
    let schema:string = '';
    const setSchema = (schema_param:string) => {
        schema = schema_param;
    }
    const getSchema = ()=> {
        return schema;
    }
    const clearSchema = () => {
        schema = ''
    }
    return{
        setSchema,
        getSchema,
        clearSchema
    }
});
export default useSchemaStore;

